package com.finger.hospservice.service;

import com.finger.modelservice.model.hosp.Hospital;
import com.finger.modelservice.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void saveHospital(Map<String, Object> map);

    Hospital getHospitalByHoscode(String hoscode);

    Page<Hospital> findHospital(int page, int size, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> getById(String id);

    String getHosName(String hoscode);

    List<Hospital> findHospitalLikeHosName(String hosname);

    // 根据医院编号查找医院信息
    Map<String, Object> findHospitalByHoscode(String hoscode);
}
